package com.putige.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.putige.reggie.entity.Dish;
import com.putige.reggie.dto.DishDto;

public interface DishService extends IService<Dish> {


    boolean addByIdFlavor(DishDto dishDto);

    Page<DishDto> findByPageAndName(Integer page, Integer pageSize, String name);

    DishDto findId(Long id);

    boolean updateByDish(DishDto dishDto);

    boolean deleted(Long[] ids);

    boolean updateByIds(Integer status, Long[] ids);
}
